package com.walker.jdk8api;

import org.dozer.DozerBeanMapper;
import org.dozer.Mapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.walker"})
public class JdkApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(JdkApiApplication.class, args);
	}
	
	@Bean
	public Mapper getMapper() {
		return new DozerBeanMapper();
	}
}
